using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 扩展字段表
    /// </summary>
    public class dt_article_attribute_field
    {
        /// <summary>
        /// 扩展字段表
        /// </summary>
        public dt_article_attribute_field()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 列名
        /// </summary>
        public System.String name { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public System.String title { get; set; }

        /// <summary>
        /// 控件类型
        /// </summary>
        public System.String control_type { get; set; }

        /// <summary>
        /// 字段类型
        /// </summary>
        public System.String data_type { get; set; }

        /// <summary>
        /// 字段长度
        /// </summary>
        public System.Int32? data_length { get; set; }

        /// <summary>
        /// 小数点位数
        /// </summary>
        public System.Int32? data_place { get; set; }

        /// <summary>
        /// 选项列表
        /// </summary>
        public System.String item_option { get; set; }

        /// <summary>
        /// 选项列表数据源
        /// </summary>
        public System.String item_datasource { get; set; }

        /// <summary>
        /// 默认值
        /// </summary>
        public System.String default_value { get; set; }

        /// <summary>
        /// 是否必填0非必填1必填
        /// </summary>
        public System.Int32? is_required { get; set; }

        /// <summary>
        /// 是否密码框
        /// </summary>
        public System.Int32? is_password { get; set; }

        /// <summary>
        /// 是否允许HTML
        /// </summary>
        public System.Int32? is_html { get; set; }

        /// <summary>
        /// 编辑器类型0标准型1简洁型
        /// </summary>
        public System.Int32? editor_type { get; set; }

        /// <summary>
        /// 验证提示信息
        /// </summary>
        public System.String valid_tip_msg { get; set; }

        /// <summary>
        /// 验证失败提示信息
        /// </summary>
        public System.String valid_error_msg { get; set; }

        /// <summary>
        /// 验证正则表达式
        /// </summary>
        public System.String valid_pattern { get; set; }

        /// <summary>
        /// 排序数字
        /// </summary>
        public System.Int32? sort_id { get; set; }

        /// <summary>
        /// 系统默认
        /// </summary>
        public System.Int32? is_sys { get; set; }

        /// <summary>
        /// 状态0正常1禁用
        /// </summary>
        public System.Int32? is_lock { get; set; }
    }
}